package com.xiaoye.dao;

import com.xiaoye.entity.Student;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author 宵夜
 * @version 1.0.0
 * @Description: TODO
 */
@Mapper
public interface StudentMapper {


    List<Student> listStudents();

    List<Student> listStudents(Student student);

    int insert(Student student);

    int deleteById(Integer id);

    Student getByNo(String no);

    Student getById(Integer id);

    int update(Student student);

    Object pageAllStudents(Integer page, Integer rows, String searchField, String searchString);
}
